package DataService.LessonDataService;

import java.rmi.Remote;
import java.rmi.RemoteException;
import java.util.ArrayList;

import VO.LessonVO;
import VO.ResultMessage;
import VO.UserVO;

public interface LessonDataService extends Remote{


	ArrayList<LessonVO> getAll() throws RemoteException ;

	ResultMessage update(LessonVO vo)throws RemoteException ;

	ArrayList<UserVO> getStudentList(LessonVO vo) throws RemoteException ;

	ArrayList<LessonVO> getAsUser(UserVO vo) throws RemoteException ;

	int getID(UserVO vo)throws RemoteException ;

	ResultMessage publish(LessonVO vo)throws RemoteException ;

	ArrayList<LessonVO> getAsTeacher(UserVO vo)throws RemoteException ;
	

}
